package com.jic.order.request;

import com.jic.order.request.base.Operate;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import lombok.Data;

@Data
public class SendGoodsRequest extends Operate implements Serializable {

	@ApiModelProperty(notes = "交货单号")
	private String deliverNo;
	@ApiModelProperty(notes = "包裹信息")
	private List<BaleInfo> baleInfoList;
	@ApiModelProperty(notes = "收货人省id")
	private long receiverProvinceId;
	@ApiModelProperty(notes = "收货人省名称")
	private String receiverProvinceName;
	@ApiModelProperty(notes = "收货人市id")
	private long receiverCityId;
	@ApiModelProperty(notes = "收货人市名称")
	private String receiverCityName;
	@ApiModelProperty(notes = "收货人区/县id")
	private long receiverCountryId;
	@ApiModelProperty(notes = "收货人区/县名称")
	private String receiverRegionName;
	@ApiModelProperty(notes = "收货人名字")
	private String receiverName;
	@ApiModelProperty(notes = "收货人电话")
	private String receiverPhone;
	@ApiModelProperty(notes = "收货人详细地址")
	private String receiverAddress;

	@Data
	public static class BaleInfo implements Serializable {

		@ApiModelProperty(notes = "配送商")
		private Integer distributor;
		@ApiModelProperty(notes = "快递单号")
		private String expressNo;
		@ApiModelProperty(notes = "包裹明细")
		private List<BaleDetailInfo> baleDetailInfoList;
	}

	@Data
	public static class BaleDetailInfo implements Serializable {

		@ApiModelProperty(notes = "商品id")
		private long goodsId;
		@ApiModelProperty(notes = "商品名称")
		private String goodsName;
		@ApiModelProperty(notes = "商品数量")
		private Integer goodsNum;
	}

}
